'''
# -*- coding: cp-1252 -*-
'''
# 上面语句可以指定页面编码格式，默认编码为utf-8
'''
import keyword
print("python内置关键字：")
print(keyword.kwlist)
'''
# 逻辑判断
'''
if True:
    print(True)
else:
    print(False)
    print("else结束了")
print("判断主体结束了")
'''
# 字符串拼接
'''
s = "a" + \
    "b" + \
    "c"
print(s)
'''
# 字符串
'''
s1 = """ssssssss"""
print("s1's value is:" + s1)
'''
# 接收用户输入内容
'''
v = input("请输入内容")
print("this is the content of your input:" + v)
'''
# 同一行显示多条语句
'''
x = 1
y = "xxx"
print("x is:" + x + ";y is:" + y)
'''
# 代码组
'''
a = 1
if a == 0:
    xx = "aaa"
    print(xx)
elif a == 1:
    yy = "bbb"
    print(yy)
else:
    print("others")
'''
# 不换行输出
'''
print("aaa", end=' ')
print("bbb")
'''
# import 与 from...import
# 导出sys模块
'''
import sys
print('================Python import mode==========================');
print ('命令行参数为:')
for i in sys.argv:
    print (i)
print ('\n python 路径为',sys.path)
'''
# 导入 sys 模块的 argv,path 成员
from sys import argv, path  # 导入特定的成员

print('================python from import===================================')
print('path:', path)  # 因为已经导入path成员，所以此处引用时不需要加sys.path
